]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appSwitcher: Make sure we don't leave a stale timeout handler
authorAdel Gadllah <adel.gadllah@gmail.com>
Tue, 25 Jan 2011 14:30:19 +0000 (15:30 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Tue, 25 Jan 2011 14:32:43 +0000 (15:32 +0100)
js/ui/altTab.js

index a8d3e79ea9afdd9912c0648f1584e8311e26a748..85846cb66a614aa42428c710a99b0fc1de9be92f 100644 (file)
@@ -946,6 +946,8 @@ AppSwitcher.prototype = {
             this._mouseTimeOutId = Mainloop.timeout_add(APP_ICON_HOVER_TIMEOUT,
                                                         Lang.bind(this, function () {
                                                                             this._enterItem(index);
+                                                                            this._mouseTimeOutId = 0;
+                                                                            return false;
                                                         }));
         } else
            this._itemEntered(index);